package com.yunfeisoft.business.model;

import com.applet.base.ServiceModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * ClassName: PmsProductCategory
 * Description: 商品分类表
 *
 * @Author: Jackie liu
 * Date: 2020-06-02
 */
@Entity
@Table(name = "PMS_PRODUCT_CATEGORY")
public class PmsProductCategory extends ServiceModel implements Serializable {

    /**
     * Field serialVersionUID: 序列号
     */
    private static final long serialVersionUID = 1L;

    /**
     * 上级分类的编号：0表示一级分类
     */
    @Column
    private String parentId;

    /**
     * 名称
     */
    @Column
    private String name;

    /**
     * 分类级别：1->1级；2->2级
     */
    @Column
    private Integer level;

    /**
     * 商品数量
     */
    @Column
    private Integer productCount;

    /**
     * 商品单位
     */
    @Column
    private String productUnit;

    /**
     * 是否显示在导航栏：2->不显示；1->显示
     */
    @Column
    private Integer navStatus;

    /**
     * 显示状态：2->不显示；1->显示
     */
    @Column
    private Integer showStatus;

    /**
     * 排序
     */
    @Column
    private Integer sort;

    /**
     * 图标
     */
    @Column
    private String icon;

    /**
     * 关键字
     */
    @Column
    private String keywords;


    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getProductCount() {
        return productCount;
    }

    public void setProductCount(Integer productCount) {
        this.productCount = productCount;
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    public Integer getNavStatus() {
        return navStatus;
    }

    public void setNavStatus(Integer navStatus) {
        this.navStatus = navStatus;
    }

    public Integer getShowStatus() {
        return showStatus;
    }

    public void setShowStatus(Integer showStatus) {
        this.showStatus = showStatus;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }


}